<?php
/**
 * Joomla! 1.5 component eventcalendar
 *
 * @version $Id: eventcalendar.php 2010-10-01 08:17:29 svn $
 * @author Pasi Lampinen
 * @package Joomla
 * @subpackage eventcalendar
 * @license GNU/GPL
 *
 * Tapahtumakalenteri Joomlaan geolokaatiolla
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');


JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_eventcalendar'.DS.'tables');
JTable::addIncludePath(JPATH_COMPONENT.DS.'tables');


// Require the base controller
require_once JPATH_COMPONENT.DS.'controller.php';

// Initialize the controller
$controller = new EventcalendarController();

$controller->execute(JRequest::getCmd('task'));


// Redirect if set by the controller
$controller->redirect();